package com.fulihui.usercore.core.repository;

import com.fulihui.usercore.dal.dataobj.LoginDO;

/**
 * @author Willard.Hu on 2016/5/29.
 */
public interface UserLoginRepository {

    void insert(LoginDO loginDO);

    boolean update(LoginDO loginDO);

    boolean updateLoginId(LoginDO loginDO);

    LoginDO queryByUserId(String userId);

    LoginDO queryByPK(String loginId);

    boolean updatePasswordByUserId(LoginDO loginDO);
}
